package com.xqc.activiti.facade.impl;

import com.xqc.activiti.api.LeaveFacade;
import com.xqc.activiti.service.LeaveService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService(version = "${dubbo.application.version}")
public class LeaveFacadeImpl implements LeaveFacade {

    @Autowired
    private LeaveService leaveService;

    @Override
    public void startLeave() {
       this.leaveService.startLeave();
    }
}
